import request from "@/utils/request"

// 首页分润信息
export function homeStatisticBannerSummary(data) {
    return request({
        url: "/profitStatistic/homeStatisticBannerSummary",
        method: "get",
        data
    })
}

//首页交易信息
export function agentTransFirstPage(data) {
    return request({
        url: "/transStatistic/agentTransFirstPage",
        method: "get",
        data
    })
}

export function appStatisPosAct(data) {
    return request({
        url: "/terminal/appStatisPosAct",
        method: "get",
        data
    })
}

export function appStatisCust(data) {
    return request({
        url: '/cust/appStatisCust',
        method: "get",
        data
    })
}
export function findPageListCount(data) {
    return request({
        url: '/terminal/findPageListCount',
        method: "get",
        data
    })
}
export function findByCanAllotCount(data) {
    return request({
        url: '/posAssign/findByCanAllotCount',
        method: "post",
        data
    })
}
export function findCanallotBackCount(data) {
    return request({
        url: '/posAssign/findCanallotBackCount',
        method: "post",
        data
    })
}
export function findSetPosActListCount(data) {
    return request({
        url: '/terminal/findSetPosActListCount',
        method: "get",
        data
    })
}
export function accountBalAll(data) {
    return request({
        url: '/account/accountBalAll',
        method: "post",
        data
    })
}
export function accountSedimentProfit(data) {
    return request({
        url: '/account/accountSedimentProfit',
        method: "post",
        data
    })
}
// 查询机构列表
export function MySwitch(data) {
    return request({
        url: '/switch',
        method: 'post',
        data
    })
}
// 切换机构
export function SwitchLogin(data) {
    return request({
        url: '/switch/login',
        method: 'post',
        data
    })
}
